<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="https://code.jquery.com/jquery-1.12.4.min.js"></script>
</head>
<body>

</body>
</html>

<script>
    var token = "eyJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE1NTEwMTAwMjAsInN1YiI6IntcImlzdXVlZEF0XCI6MTU1MTAxMDAyMDQ3MCxcInVzZXJcIjpcImZzYWRma2phc2xkZmpsYXNkXCJ9IiwiZXhwIjoxNTUxMDEyNjEyfQ.RAATraWbulWVy53S14J7cJiiF-LwaA3mXqu98VkbvoM";

    function fun1() {
        $.ajax({
            url: "http://localhost:8080/event/test4",
            headers: {
                'Accept': 'aplication/json',
                'Authorization': 'Bearer ',
                "tilesrowjwt": token
            },
            data: {
                a: 1
            },
            success: function (res) {

            },
            error: function (a, b, c) {

            }
        })
    }

    fun1()
</script>